package com.sdlg.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class HomeController {

    @GetMapping("/home")
    public String home() {
        return "home";  // 返回登录成功后展示的页面视图，这里假设视图名为home.html
    }
}